<?php

class Application_Form_Modifierproject extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	
    	
    	$this->setName("Formulairemodifierproject");
    	
    	$id = new Zend_Form_Element_Hidden('idPILOT_PROJECT');
    	$id->setLabel('');
    	
    	$nomprojet = new Zend_Form_Element_Text('NomProjet');
    	$nomprojet->setLabel('Nom Projet');
    	
    	
    	$description = $this->CreateElement('textarea', 'DESCRIPTION');
    	$description->setAttrib('rows', '7');
    	$description->setAttrib('cols', '35');
    	$description->setLabel('Description');
    	
    	$valider = new Zend_Form_Element_Submit("submit");
    	$valider->setLabel("Modifier");
    	
    	$this->addElements(array($id,$nomprojet,$description,$valider));
    	
    	
    	
    	$this->setDecorators( array( array('ViewScript', array('viewScript' => 'protypeform.phtml'))));
    	
    	
    	
    }


}

